package com.hjm.project.GoodsInfo.GoodsInfo.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商品对象 goods_info
 * 
 * @author GoodsInfo
 * @date 2020-11-30
 */
public class GoodsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private Long id;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String gdNumber;

    /** 主标题 */
    @Excel(name = "主标题")
    private String mianTitle;

    /** 副标题 */
    @Excel(name = "副标题")
    private String subTitle;

    /** 售价 */
    @Excel(name = "售价")
    private String price;

    /** 介绍详情 */
    @Excel(name = "介绍详情")
    private String details;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private String browseNumber;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 状态 1上架， 2 下架 */
    @Excel(name = "状态 1上架， 2 下架")
    private String state;

    /** 终端类型 0传统， 4 电签*/
    @Excel(name = "终端类型")
    private String posType;

    /** 审核状态 1通过，2打回，3审核中,4 申请 */
    @Excel(name = "审核状态 1通过，2打回，3审核中,4 申请")
    private String auditStatus;

    /** 已售总数量 */
    @Excel(name = "已售总数量")
    private String soldNum;

    /** 划线价 */
    @Excel(name = "划线价")
    private String oldPrice;

    /** 成本价格 */
    @Excel(name = "成本价格")
    private String costPrice;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 体积 */
    @Excel(name = "体积")
    private String volume;
    private Integer nums;

    /** 净含量 */
    @Excel(name = "净含量")
    private String netContent;

    /** 库存 */
    @Excel(name = "库存")
    private String stock;

    /** 虚拟库存 */
    @Excel(name = "虚拟库存")
    private String fictitiousStock;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barCode;

    /** 包装类型 */
    @Excel(name = "包装类型")
    private String packaging;

    /** 库存预警 */
    @Excel(name = "库存预警")
    private String stockEarlyWarning;

    /** 0 普通商品 1 抢购商品 */
    @Excel(name = "0 普通商品 1 抢购商品")
    private String isSnaup;

    /** 运费 */
    @Excel(name = "运费")
    private String freightMoney;
    private Integer sorts;

    public String getPosType() {
        return posType;
    }

    public void setPosType(String posType) {
        this.posType = posType;
    }

    public Integer getSorts() {
        return sorts;
    }

    public void setSorts(Integer sorts) {
        this.sorts = sorts;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGdNumber(String gdNumber)
    {
        this.gdNumber = gdNumber;
    }

    public String getGdNumber()
    {
        return gdNumber;
    }
    public void setMianTitle(String mianTitle)
    {
        this.mianTitle = mianTitle;
    }

    public String getMianTitle()
    {
        return mianTitle;
    }
    public void setSubTitle(String subTitle)
    {
        this.subTitle = subTitle;
    }

    public String getSubTitle()
    {
        return subTitle;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }
    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }
    public void setBrowseNumber(String browseNumber)
    {
        this.browseNumber = browseNumber;
    }

    public String getBrowseNumber()
    {
        return browseNumber;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setAuditStatus(String auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus()
    {
        return auditStatus;
    }
    public void setSoldNum(String soldNum)
    {
        this.soldNum = soldNum;
    }

    public String getSoldNum()
    {
        return soldNum;
    }
    public void setOldPrice(String oldPrice)
    {
        this.oldPrice = oldPrice;
    }

    public String getOldPrice()
    {
        return oldPrice;
    }
    public void setCostPrice(String costPrice)
    {
        this.costPrice = costPrice;
    }

    public String getCostPrice()
    {
        return costPrice;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setVolume(String volume)
    {
        this.volume = volume;
    }

    public String getVolume()
    {
        return volume;
    }
    public void setNetContent(String netContent)
    {
        this.netContent = netContent;
    }

    public String getNetContent()
    {
        return netContent;
    }
    public void setStock(String stock)
    {
        this.stock = stock;
    }

    public String getStock()
    {
        return stock;
    }
    public void setFictitiousStock(String fictitiousStock)
    {
        this.fictitiousStock = fictitiousStock;
    }

    public String getFictitiousStock()
    {
        return fictitiousStock;
    }
    public void setBarCode(String barCode)
    {
        this.barCode = barCode;
    }

    public String getBarCode()
    {
        return barCode;
    }
    public void setPackaging(String packaging)
    {
        this.packaging = packaging;
    }

    public String getPackaging()
    {
        return packaging;
    }
    public void setStockEarlyWarning(String stockEarlyWarning)
    {
        this.stockEarlyWarning = stockEarlyWarning;
    }

    public String getStockEarlyWarning()
    {
        return stockEarlyWarning;
    }
    public void setIsSnaup(String isSnaup)
    {
        this.isSnaup = isSnaup;
    }

    public String getIsSnaup()
    {
        return isSnaup;
    }
    public void setFreightMoney(String freightMoney)
    {
        this.freightMoney = freightMoney;
    }

    public String getFreightMoney()
    {
        return freightMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gdNumber", getGdNumber())
            .append("mianTitle", getMianTitle())
            .append("subTitle", getSubTitle())
            .append("price", getPrice())
            .append("details", getDetails())
            .append("browseNumber", getBrowseNumber())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("state", getState())
            .append("auditStatus", getAuditStatus())
            .append("soldNum", getSoldNum())
            .append("oldPrice", getOldPrice())
            .append("costPrice", getCostPrice())
            .append("weight", getWeight())
            .append("volume", getVolume())
            .append("netContent", getNetContent())
            .append("stock", getStock())
            .append("fictitiousStock", getFictitiousStock())
            .append("barCode", getBarCode())
            .append("packaging", getPackaging())
            .append("stockEarlyWarning", getStockEarlyWarning())
            .append("isSnaup", getIsSnaup())
            .append("freightMoney", getFreightMoney())
            .toString();
    }
}
